package com.ruoyi.classai.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.classai.domain.EwcTeachingResource;
import com.ruoyi.classai.domain.vo.resource.EwcTeachingResourceAnalyseDetailVo;
import com.ruoyi.classai.domain.vo.resource.EwcTeachingResourceVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 教学视频解析对象Mapper接口
 * 
 * @author zsp
 * @date 2025-06-07
 */
public interface EwcTeachingResourceMapper extends BaseMapper<EwcTeachingResource> {

    List<EwcTeachingResourceVo> getTeachingResourceList(@Param("teacherId") String teacherId,
                                                        @Param("resourceName") String resourceName,
                                                        @Param("subjectType") Integer subjectType,
                                                        @Param("deadlineStart") String deadlineStart,
                                                        @Param("deadlineEnd") String deadlineEnd);

    EwcTeachingResourceAnalyseDetailVo getTeachingResourceAnalyseDetail(@Param("id") String id,
                                                                        @Param("teacherId") String teacherId);
}
